package posti.test.domain;

public class Review {
	public Object thisField = this;
	public Object nullField = null;
	private String text;
	private int points;
	private Person criticField;
	
	private Review() {}
	public Review(int i) {
		points = i;
	}
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public Person getCritic() {
		return criticField;
	}
	public void setCritic(Person critic) {
		this.criticField = critic;
	}
//	public int getPoints() {
//		return points;
//	}
//	public void setPoints(int points) {
//		this.points = points;
//	}
	
	public void reviewMethod(String text) {
		this.text = text;
	}
	
	public String reviewMethod() {
		return text;
	}
	
	public Person critic() {
		return this.criticField;
	}
	
	public void critic(Person critic) {
		this.criticField = critic;
	}
	
	public void criticMethod(Person critic) {
		this.criticField = critic;
	}
	public Object thisMethod() {
		return this;
	}
	public Object getThis() {
		return this;
	}
	
	public Object nullMethod() {
		return null;
	}
	public Object getNull() {
		return null;
	}
}
